package com.cn.springcloudshop.model;

import java.util.Date;
import java.util.List;

public class YmShopCat {

    /**类目id*/
    private Long id;

    /**父类ID  为0代表一级*/
    private Long parentId;

    /**类目名称*/
    private String text;

    /**状态1可用,0删除*/
    private Integer status;

    /**排序字段*/
    private Integer sortOrder;

    /**创建时间*/
    private Date created;

    /**更新时间*/
    private Date updated;

    /**
     * 父类名称
     */
    private String parentName;

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }
}